Class HardwareQueueImpl

java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.HardwareQueueImpl
All Implemented Interfaces:
IPCObject, HardwareQueue
Direct Known Subclasses:
CsmaCdProcessImpl, HdlcImpl

public class HardwareQueueImpl extends IPCObjectImpl implements HardwareQueue
Information provided by the PKI file:

    \class HardwareQueue
    
    \brief HardwareQueue handles and manipulates switch ports.
    
Author:
Auto-generated
  • Constructor Details

  • Method Details

    • getPacketCnt

      public int getPacketCnt()
      Information provided by the PKI file:
      
          \brief Returns the number of packets.
          
          \return int, the number of packets.
          
              
      Specified by:
      getPacketCnt in interface HardwareQueue
      Returns:
      int Returns a int
    • getUserTrafficAt

      public UserTraffic getUserTrafficAt(int index)
      Information provided by the PKI file:
      
          \brief Returns the UserTraffic object.
          
          \param int, index of UserTraffic in the queue.
          
          \return UserTraffic, the UserTraffic object.
          
              
      Specified by:
      getUserTrafficAt in interface HardwareQueue
      Parameters:
      index - Takes in a parameter of index
      Returns:
      UserTraffic Returns a UserTraffic